package com.by.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @author: Fsw
 * @com.by.strategy 登录策略接口
 * @date 2025-08-25 11:03
 */
public interface LoginStrategy {
    /**
     * 真正处理登录的方法
     * @param username
     * @return
     */
    UserDetails realLogin(String username);
}
